<?php
    print json_encode(array('pw'=>exec('/usr/bin/pwgen -anc 8 1')));
?>